<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------


use think\Route;


// 动态注册域名的路由规则
Route::rule('api/:version/clue_accept', 'api/:version.Clue/accept');
Route::rule('api/:version/token', 'api/:version.Token/index');
Route::rule('api/:version/test', 'api/:version.Clue/apiPushClue');
Route::rule('api/:version/apiPush', 'api/:version.Clue/apiPush');
Route::rule('api/:version/clue/push', 'api/:version.Clue/apiPushV2');
Route::rule('api/:version/jierongPush', 'api/:version.Clue/jierongPush');
Route::rule('api/:version/shanghaiPush', 'api/:version.Clue/shanghaiPush');
Route::rule('api/:version/shanghaiDyPush', 'api/:version.Clue/shanghaiPush2');
Route::rule('api/:version/cjPush', 'api/:version.Clue/cjPush');
Route::rule('api/clueRemark', 'api/v1.ClueLog/clueRemark');
Route::rule('api/clueStatus', 'api/v1.ClueLog/clueStatus');
Route::rule('api/clueLevelStatus', 'api/v1.ClueLog/clueLevelStatus');

//撞库
Route::rule('api/:version/checkPhone', 'api/:version.Clue/checkPhone');

Route::get('/', 'api/v1.Token/index');
Route::get('/index/index', 'api/index/index');
Route::get('/index/test', 'api/index/test');

Route::get('/index/ZhaoYang/index', 'index/ZhaoYang/index');
Route::get('/index/ZhaoYang/gjj', 'index/ZhaoYang/gjjindex');
Route::get('/index/ZhaoYang/all', 'index/ZhaoYang/allindex');
//Route::get('/index/ZhaoYang/gongjijing', 'index/ZhaoYang/gongjijing');

Route::get('gongjijin/index' ,'index/DyTouTiao/index');
Route::get('gongjijin/resultres', 'index/DyTouTiao/resultres');

Route::get('gongjijin/gjj' ,'index/DyTouTiao/gjj');
Route::get('gongjijin/gjjres', 'index/DyTouTiao/gjjres');

Route::get('gongjijin/v3' ,'index/DyTouTiao/indexv3');
Route::get('gongjijin/resultv3', 'index/DyTouTiao/resultv3');
Route::get('gongjijin/v4' ,'index/DyTouTiao/indexv4');
Route::get('gongjijin/resultv4', 'index/DyTouTiao/resultv4');

//落地页接口
Route::rule([
    'landingpage/post' => 'api/landingpage/post', //表单提交
    'landingpage/getCity' => 'api/landingpage/getCity', //后台选择城市
    'landingpage/getAllCity' => 'api/landingpage/getAllCity', //获取所有城市
//    'landingpage/getHkCity' => 'api/landingpage/getHkCity', //获取所有城市
    'landingpage/sendMsg' => 'api/landingpage/sendMsg', //发送验证码
    'landingpage/test' => 'api/landingpage/test', //发送验证码
    'landingpage/getConfig' => 'api/landingpage/getConfig', //获取配置内容

    'index/zhao_yang/post' => 'api/ZhaoYangPage/post', //获取配置内容
    'index/zhao_yang/sendMsg' => 'api/ZhaoYangPage/sendMsg',
    'index/zhao_yang/getCity' => 'api/ZhaoYangPage/getCity',
    'index/zhao_yang/getHkCity' => 'api/ZhaoYangPage/getHkCity',

    //蘑菇头落地页
    'index/mo_gu/post' => 'api/MoGuTouPage/post', //获取配置内容
    'index/mo_gu/sendMsg' => 'api/MoGuTouPage/sendMsg',
    'index/mo_gu/getCity' => 'api/MoGuTouPage/getCity',
    'index/mo_gu/getHkCity' => 'api/MoGuTouPage/getHkCity',



]);

Route::get('/index/MoGuTou/index', 'index/MoGuTou/index');
Route::get('/index/ZhaoYang/gjj', 'index/ZhaoYang/gjjindex');
Route::get('/index/ZhaoYang/all', 'index/ZhaoYang/allindex');

//车抵融
Route::rule('api/acceptclue/carPush', 'api/acceptclue/carPush');
//大鹅推 固定路由
Route::rule('api/acceptcluedae/belongInfoSubmit', 'api/AcceptclueDae/push');

//大鹅推（杭州） 固定路由
Route::rule('api/accept/submit', 'api/AcceptclueDaeCommon/push');

//快手 接收线索
Route::rule('api/kuaishou/clue_accept', 'api/AcceptclueKuaiShou/accept');



